package com.qqtech.qquan.mall.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class MallCategory extends BaseDomain{

	//columns START
	/** id,字符，例如1000 */
	private java.lang.String categoryId;
    /** 父类id */
	private java.lang.String parentId;
    /** 分类名称 */
	private java.lang.String name;
    /** 分类图片 */
	private java.lang.String img;
    /** 分类排序,越小越靠前 */
	private java.lang.Integer oidx;
    /** 级别，1,2... */
	private java.lang.Integer level;
	
	/** 状态:1-有效;2-无效 */
	private java.lang.Integer status;
	
	 /** 商城首页商品分类广告图片 */
	private java.lang.String adImg;
	
	//columns END
	public MallCategory(){
	}

	public MallCategory( java.lang.Integer id ){
		this.id = id;
	}

	public java.lang.String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(java.lang.String categoryId) {
		this.categoryId = categoryId;
	}

	public void setParentId(java.lang.String parentId) {
		this.parentId = parentId;
	}

	public java.lang.String getParentId() {
		return this.parentId;
	}
	
	public void setName(java.lang.String name) {
		this.name = name;
	}

	public java.lang.String getName() {
		return this.name;
	}
	
	public void setImg(java.lang.String img) {
		this.img = img;
	}

	public java.lang.String getImg() {
		return this.img;
	}
	
	public void setOidx(java.lang.Integer oidx) {
		this.oidx = oidx;
	}

	public java.lang.Integer getOidx() {
		return this.oidx;
	}
	
	public void setLevel(java.lang.Integer level) {
		this.level = level;
	}

	public java.lang.Integer getLevel() {
		return this.level;
	}
	
	public java.lang.Integer getStatus() {
		return status;
	}

	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}

	public java.lang.String getAdImg() {
		return adImg;
	}

	public void setAdImg(java.lang.String adImg) {
		this.adImg = adImg;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

